package com.siyuanren.gcocp.consts;

/**
 * Created by   guwr
 * Project_name gcocp-parent
 * Path         com.siyuanren.gcocp.consts.GcocpConsts
 * Date         2017/5/2
 * Time         20:06
 * Description  redisKey
 */
public class RedisConsts {

    /**
     * 快速匹配锁
     */
    public final static String ORDER_TIME_SELECT_LOCK = "ORDER_TIME_SELECT_LOCK_";

    /**
     * 快速匹配锁
     */
    public final static String ROOM_GROUP_DELAY_FASTMATCH_LOCK = "ROOM_GROUP_DELAY_FASTMATCH_LOCK_LOCK_";
    /**
     * 座位组延迟
     */
    public final static String ROOM_GROUP_DELAY_LOCK = "REDIS_ROOM_GROUP_DELAY_LOCK_";
    /**
     * 座位延迟
     */
    public final static String SEAT_DELAY_LOCK = "REDIS_SEAT_DELAY_LOCK_";

    /**
     * 咨询师匹配座位队列
     */
    public final static String REDIS_SYRGCOCPSEATA = "REDIS_SYRGCOCPSEATA_";
    /**
     * 来访者匹配座位队列
     */
    public final static String REDIS_SYRGCOCPSEATB = "REDIS_SYRGCOCPSEATB_";
    public final static String REDIS_SYRGCOCPSEATBNEW = "REDIS_SYRGCOCPSEATNEW_";
    public final static String REDIS_LOCKSYRGCOCPSEATBNEW = "REDIS_LOCKSYRGCOCPSEATNEW_";
    /**
     * 用户登录TOKEN缓存
     */
    public final static String TOKEN_PREFIX = "token_%s";
    public final static String TOKEN = "token_";
    /**
     * 防止表单重复提交flag
     */
    public final static String REPEAT = "repeat_%s";
    /**
     * 缓存验证码存储
     */
    public final static String REDIS_USER_VERIFICATIONCODE = "REDIS_USER_VERIFICATIONCODE_";

    /**
     * 是否为清除过后的僵尸
     */
    public final static String REDIS_CORPSE_USER = "REDIS_CORPSE_USER_";
}
